﻿@page "/user/logout"
@inject IAuthService AuthService
@inject NavigationManager NavigationManager



@code {
    protected override async Task OnInitializedAsync()
    {
        await AuthService.Logout();
        NavigationManager.NavigateTo("/", true);
        await base.OnInitializedAsync();
    }

}